<?php if (isset($userList) && count($userList) > 0) {
    foreach ($userList as $userMsg) {
        ?>
        <li class="am-list-item" style="padding-left: 25px">
            <a style="display: inline-block;" data-forward="controller=user_show&user_id=<?= $userMsg->Id ?>"
               onclick="act_content(this)">
                <div class="am-list-thumb"
                     style="height: 55px; width: 55px;display: inline-block; vertical-align: top;">
                    <img src="<?= $userMsg->Avatar ?>" class="am-circle" height="55" width="55"/>
                </div>
                <div style="width: 20px; display: inline-block;"></div>
                <div class="am-list-main" style="display: inline-block; vertical-align: top; padding-top: 2px;">
                    <div class="am-list-item-hd">
                        <b class="web-tittle-color"><?= $userMsg->Name ?></b>
                    </div>
                    <div class="am-text-xs web-gray-color" style="padding-top: 10px;">
                        <?= $userMsg->Province ?>&nbsp;&nbsp;&nbsp;<?= $userMsg->City ?>
                    </div>
                </div>
            </a>
            <div class="am-fr web-gray-color" style="padding-right: 20px; padding-top: 26px; text-align: right;">
                <i class="am-icon am-icon-ellipsis-h"></i>&nbsp;
            </div>
        </li>
        <?php
    }
} //if(isset($topicList))结束
else //没有内容
{
    if (!isset($InputData['page_change']) || isset($InputData['search_text']))
        require("{$CfgPara->root}/view/warning_nocontent.app.v.php");
}
?>